﻿using System.Collections.Generic;
using System.Runtime.Serialization;

namespace BusinessObjects.Models
{
    [DataContract]
    public class Provider
    {
        [DataMember]
        public int Id { get; set; }

        [DataMember]
        public string Name { get; set; }

        [DataMember]
        public string Email { get; set; }

        [DataMember]
        public string Phone { get; set; }

        [DataMember]
        public int DepartmentId { get; set; }

        [DataMember]
        public virtual ICollection<Dish> Dishes { get; set; }

        [DataMember]
        public Department Department { get; set; }
    }
}